package com.atguigu.srb.sms.client.fallback;

import com.atguigu.srb.sms.client.CoreUserInfoClient;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

/**
 * Description:
 *
 * @ author: ChiPu
 * date: 2021/11/24 0:22
 */
@Service
@Slf4j
public class CoreUserInfoClientFallback implements CoreUserInfoClient{
    @Override
    public boolean checkMobile(String mobile) {
        log.error("远程调用失败，服务熔断");
        return false;
    }
}